package com.xiaoyy.sso.core.integration;

import com.xiaoyy.core.common.vo.TokenVO;
import com.xiaoyy.sso.common.vo.LoginVO;
import com.xiaoyy.sso.common.vo.UserVO;
import com.xiaoyy.sso.common.vo.WinxinVO;

public interface RsLoginIntegration {
    /**
     * 用户登录
     * */
    TokenVO login(LoginVO loginVO);
    /**
     * 注册用户
     * */
    TokenVO register(LoginVO loginVO);
    /**
     * 绑定用户
     * */
    TokenVO bindWinxinUser(LoginVO loginVO, WinxinVO winxinVO);

    /**
     * 用户退出
     * */
    void logout(String accessToken);

}
